import {get,post,del} from '@/util/service'

export const userApi=data=>{
    return get({
        url:"/user/isLoggedIn",
        data
    })
}
export const saveApi=data=>{
    return post({
        url:"/user/saveUser",
        data
    })
}
export const getAdrApi=data=>{
    return get({
        url:"/user/getAddress",
        data
    })
}
export const updateAdrApi=data=>{
    return post({
        url:"/user/updateAddress",
        data
    })
}
export const delAdrApi=data=>{
    return del({
        url:"/user/delAddress",
        data
    })
}